package cn.richard.demo.ruleengine.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

@Component
@ConfigurationProperties(prefix = "app")
@Data
public class NacosYmlAppObjBean {
	private String name;
	private String active;
}
//dataId: easyrules-nacos-local.yml
//group: DEFAULT_GROUP
//namespace: public
/*
app:
  name: ${spring.application.name}
  active: ${spring.profiles.active}
*/